﻿using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using TimKen.BussLogic;
using TimKen.DataEntity;
using System.Data;
using System.Data.SqlClient;
using Microsoft.Security.Application;


namespace TimKen.Web.UserControls
{
    public partial class ProductSearch : TimKen.App.BaseUserControl
    {
        public DataRowCollection drcBrand;
        protected void Page_Load(object sender, EventArgs e)
        {
             //绑定品牌列表
                BindBrandList();
        }

        private void BindBrandList()
        {
            //品牌
            PBrandManager pbm = new PBrandManager();
            DataSet dsBrand = pbm.GetList(" WHERE  BrandID!=4");
            drcBrand = dsBrand.Tables[0].Rows;
        }

         /// <summary>
         /// 产品品牌
         /// </summary>
        public string BrandID
        {
            get
            {
                return Request.QueryString["BrandID"] == null ? "" : Request.QueryString["BrandID"];
            }
        }

        /// <summary>
        /// 关键字
        /// </summary>
        public string KeyWords
        {
            get
            {
                return Request.QueryString["KeyWords"] == null ? "" : Request.QueryString["KeyWords"];
            }
        }

        /// <summary>
        /// 描述
        /// </summary>
        public string Desc
        {
            get
            {
                return Request.QueryString["Desc"] == null ? "" : Request.QueryString["Desc"];
            }
        }
        
    }
}